﻿namespace SmartCity.Shared
{
    /// <summary>
    /// 未找到输出结果
    /// </summary>
    public class NotFoundResponse : ActionResponse<NotFoundResponse>
    {
        /// <summary>
        /// 未找到资源
        /// </summary>
        public static NotFoundResponse NotFound(string msg = null)
        {
            return Failed(ResponseCode.未找到资源, msg ?? "未找到资源");
        }
    }
}